<template>
  <div>
    <el-aside width="100px" style="background-color: rgb(238, 241, 246);float: left;"></el-aside>

    <div style="float: left;margin-left: 50px;">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
import Fei from "./Fei.vue";
import List from "./List.vue";
import EWM from "./EWM.vue";
import Vue from "vue";
import VueRouter from "vue-router";

var routes = [
  {
    path: "/",
    name: "List",
    component: List
  },
  {
    path: "/Fei",
    name: "Fei",
    component: Fei
  },
  {
    path: "/EWM",
    name: "EWM",
    component: EWM
  }
];

var router = new VueRouter({
  mode: "history",
  routes: routes
});

Vue.use(VueRouter);

export default {
  router: router,
  name: "app",
  data() {
    return {};
  },
  mounted() {},
  methods: {}
};
</script>